#ifndef COURSE_H
#define COURSE_H
#include <bits/stdc++.h>
#include <winsock2.h>
#include <mysql.h>

class Course
{
    public:
        Course();
        int set_time(char *time_str);
        int set_course_name(char *t_course_name);
        int set_coach_id(MYSQL *con, char *t_coach_name);
        int add_to_sql(MYSQL *con);
        virtual ~Course();
    protected:
    private:
        char m_time[100];
        char m_course_name[100];
        int m_coach_id;

};

#endif // COURSE_H
